import fetch from 'common/fetch'
import {home} from 'common/uri'

export function cities(params) {
  return fetch({
    url: home.cities,
    method: 'get',
    params
  })
}

export function stat(params) {
  return fetch({
    url: home.stat,
    method: 'get',
    params
  })
}

export function countSeller(params) {
  return fetch({
    url: home.countSeller,
    method: 'get',
    params
  })
}

export function countDownSeller(params) {
  return fetch({
    url: home.countDownSeller,
    method: 'get',
    params
  })
}

export function topTen(params) {
  return fetch({
    url: home.topTen,
    method: 'get',
    params
  })
}

export function defStat(params) {
  return fetch({
    url: home.defStat,
    method: 'get',
    params
  })
}
